package com.ttbj.product.bean.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

@JsonInclude(Include.NON_NULL)
public class SalesmanDto implements Serializable {
	 
	private static final long serialVersionUID = -2453714962270348383L;

	private Long salesmanId;

	    private String salesmanNum;

	    private String salesmanName;

	    private String salesmanPic;

	    private Integer salesmanGoal;

	    private BigDecimal salesmanBonus;

	    private Integer salesmanType;

	    private String salesmanJoinTime;

	    private String salesmanInsTime;

	    private String salesmanUpdateTime;

	    private Integer salesmanIsDelete;

	    private String salesmanSalt;

	    private String salesmanToken;

	    private String salesmanRealName;

	    private String salesmanPwd;

	    private Long salesmanRoleId;

	    private String salesmanRegistId;

	    private String salesmanPhone;

	    private String salesmanAddr;
	    
	    private String salesmanNewToken;
	    
	    private String salesmanNewPwd;
	    
	    public SalesmanDto newToken(String token){
	    	this.salesmanNewToken = token;
	    	return this;
	    }
	    public SalesmanDto newPwd(String pwd) {
	    	this.salesmanNewPwd = pwd;
	    	return this;
	    }
	    public SalesmanDto insDate(String date){
	    	this.salesmanInsTime = date;
	    	return this;
	    }
	    
	    public SalesmanDto registId(String registId){
	    	this.salesmanRegistId = registId;
	    	return this;
	    }
	    
	    public SalesmanDto updateDate(String date){
	    	this.salesmanUpdateTime = date;
	    	return this;
	    }
		public String getSalesmanNewToken() {
			return salesmanNewToken;
		}

		public void setSalesmanNewToken(String salesmanNewToken) {
			this.salesmanNewToken = salesmanNewToken;
		}

		public String getSalesmanNewPwd() {
			return salesmanNewPwd;
		}

		public void setSalesmanNewPwd(String salesmanNewPwd) {
			this.salesmanNewPwd = salesmanNewPwd;
		}

		public SalesmanDto(String token) {
			 this.salesmanToken = token;
		}

		public SalesmanDto(String name, String pwd) {
			this.salesmanName = name;
			this.salesmanPwd = pwd;
		}
		
		public SalesmanDto() {}

		public Long getSalesmanId() {
			return salesmanId;
		}

		public void setSalesmanId(Long salesmanId) {
			this.salesmanId = salesmanId;
		}

		public String getSalesmanNum() {
			return salesmanNum;
		}

		public void setSalesmanNum(String salesmanNum) {
			this.salesmanNum = salesmanNum;
		}

		public String getSalesmanName() {
			return salesmanName;
		}

		public void setSalesmanName(String salesmanName) {
			this.salesmanName = salesmanName;
		}

		public String getSalesmanPic() {
			return salesmanPic;
		}

		public void setSalesmanPic(String salesmanPic) {
			this.salesmanPic = salesmanPic;
		}

		public Integer getSalesmanGoal() {
			return salesmanGoal;
		}

		public void setSalesmanGoal(Integer salesmanGoal) {
			this.salesmanGoal = salesmanGoal;
		}

		public BigDecimal getSalesmanBonus() {
			return salesmanBonus;
		}

		public void setSalesmanBonus(BigDecimal salesmanBonus) {
			this.salesmanBonus = salesmanBonus;
		}

		public Integer getSalesmanType() {
			return salesmanType;
		}

		public void setSalesmanType(Integer salesmanType) {
			this.salesmanType = salesmanType;
		}


		public String getSalesmanJoinTime() {
			return salesmanJoinTime;
		}
		public void setSalesmanJoinTime(String salesmanJoinTime) {
			this.salesmanJoinTime = salesmanJoinTime;
		}
		public String getSalesmanInsTime() {
			return salesmanInsTime;
		}

		public void setSalesmanInsTime(String salesmanInsTime) {
			this.salesmanInsTime = salesmanInsTime;
		}

		public String getSalesmanUpdateTime() {
			return salesmanUpdateTime;
		}

		public void setSalesmanUpdateTime(String salesmanUpdateTime) {
			this.salesmanUpdateTime = salesmanUpdateTime;
		}

		public Integer getSalesmanIsDelete() {
			return salesmanIsDelete;
		}

		public void setSalesmanIsDelete(Integer salesmanIsDelete) {
			this.salesmanIsDelete = salesmanIsDelete;
		}

		public String getSalesmanSalt() {
			return salesmanSalt;
		}

		public void setSalesmanSalt(String salesmanSalt) {
			this.salesmanSalt = salesmanSalt;
		}

		public String getSalesmanToken() {
			return salesmanToken;
		}

		public void setSalesmanToken(String salesmanToken) {
			this.salesmanToken = salesmanToken;
		}

		public String getSalesmanRealName() {
			return salesmanRealName;
		}

		public void setSalesmanRealName(String salesmanRealName) {
			this.salesmanRealName = salesmanRealName;
		}

		public String getSalesmanPwd() {
			return salesmanPwd;
		}

		public void setSalesmanPwd(String salesmanPwd) {
			this.salesmanPwd = salesmanPwd;
		}

		public Long getSalesmanRoleId() {
			return salesmanRoleId;
		}

		public void setSalesmanRoleId(Long salesmanRoleId) {
			this.salesmanRoleId = salesmanRoleId;
		}

		public String getSalesmanRegistId() {
			return salesmanRegistId;
		}

		public void setSalesmanRegistId(String salesmanRegistId) {
			this.salesmanRegistId = salesmanRegistId;
		}

		public String getSalesmanPhone() {
			return salesmanPhone;
		}

		public void setSalesmanPhone(String salesmanPhone) {
			this.salesmanPhone = salesmanPhone;
		}

		public String getSalesmanAddr() {
			return salesmanAddr;
		}

		public void setSalesmanAddr(String salesmanAddr) {
			this.salesmanAddr = salesmanAddr;
		}

		@Override
		public String toString() {
			return "SalesmanDto [salesmanId=" + salesmanId + ", salesmanNum=" + salesmanNum + ", salesmanName=" + salesmanName + ", salesmanPic=" + salesmanPic + ", salesmanGoal=" + salesmanGoal + ", salesmanBonus=" + salesmanBonus + ", salesmanType=" + salesmanType + ", salesmanJoinTime=" + salesmanJoinTime + ", salesmanInsTime=" + salesmanInsTime + ", salesmanUpdateTime=" + salesmanUpdateTime + ", salesmanIsDelete=" + salesmanIsDelete + ", salesmanSalt=" + salesmanSalt + ", salesmanToken="
					+ salesmanToken + ", salesmanRealName=" + salesmanRealName + ", salesmanPwd=" + salesmanPwd + ", salesmanRoleId=" + salesmanRoleId + ", salesmanRegistId=" + salesmanRegistId + ", salesmanPhone=" + salesmanPhone + ", salesmanAddr=" + salesmanAddr + "]";
		}
}
